package com.gzh.mapper;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class UserMapper {
    @Value("张三")
    private String username;
    @Value("123")
    private String password;

    public void save(){
        System.out.println(username);
        System.out.println(password);
    }
}
